package org.jeecg.modules.demo.spcWeeklyPlan.service;

import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.modules.demo.spcWeeklyPlan.entity.SpcWeeklyPlanDetail;
import org.jeecg.modules.demo.spcWeeklyPlan.entity.SpcWeeklyPlan;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.beans.factory.annotation.Autowired;

import javax.servlet.http.HttpServletRequest;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 周计划
 * @Author: jeecg-boot
 * @Date:   2023-10-23
 * @Version: V1.0
 */
public interface ISpcWeeklyPlanService extends IService<SpcWeeklyPlan> {

	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);

	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);




	/**
	 * 校验是否一个合同生成过周计划
	 */
	public int generatedWeekPlan(String conNum);

}
